#include "gtest/gtest.h"


//Sign in of Client 
//  input user & password => check it => validate it  =>  0 if success; error_code if failed
//  input : 
//      user(std::string),
//      passwd(std::string)
//  format check : 
//      null, 
//      empty string, 
//      len(string) ->[8,20];  
//      len(password) ->[6,16]
//  validation : 
//      > user exist  => error code
//      > password(user-input) == password(user-in-db); failed =>error_code
//
TEST(SignInTest, testSignIn){
     
//    std::string password = "1234567";
//    ScopedMemPtr<User> user = new User("chenglun");
//    ASSERT_TRUE(user->signIn(password));
}
